cs-selling-experience-api-services icon

cs-selling-experience-api-services

(0 reviews)

πŸ“š Data Dictionary - Experience Selling API

This section provides the meaning of the attributes included in the API.


πŸ—‚οΈ Base Information


πŸ”‘ API KEYS

  • "Authorization": "Bearer {{API_KEY}}"Attribute defined in the request Header.
    • Type: String
    • Length: Minimum 36 characters, maximum 37 characters
    • Description: Authentication token required to access the API.
  • "client_id": "{{CLIENT_ID}}"Attribute defined in the request Header.
    • Type: String
    • Length: Minimum 32 characters, maximum 36 characters
    • Description: Unique client identifier to authenticate the request.

NOTE: It is important to have these API KEYS to make any request to our services.


πŸ“„ Policy Generation (POST /PolicyIssuance/v1/generatePolicy)

  • "policyHolder"
    • Type: Object
    • Description: Information about the policyholder.
    • Attributes:
      • "name": Full name of the policyholder. (String, max 100 characters)
      • "identification": National ID or Passport number. (String, max 20 characters)
      • "address": Residential address. (String, max 150 characters)
  • "coverageDetails"
    • Type: Array
    • Description: List of coverages included in the policy.
    • Attributes:
      • "coverageType": Type of insurance coverage. (String, max 50 characters)
      • "sumInsured": Amount insured under this coverage. (Decimal)
  • "effectiveDate"
    • Type: Date (ISO 8601 format)
    • Description: The start date of the policy coverage.

List of Relationships

IdDescription
D017376E-CA84-4A9D-ACAF-0E9F1C20512CBENEFICIARIO ONEROSO
AFB00EF0-54BF-483A-8A78-1DDA68F93AC9OTROS PARENTESCOS
7E299D64-CDEE-457A-AB78-26B98A397643ASCENDENTES (PADRES)
BC8945A3-7945-47B0-B4B1-394248BE10FFCOMPAΓ‘ERO(A) PERMANENTE
D7574B2D-7202-4338-B057-3A7F4CA127B1OTROS PARENTESCOS
A1D89C2E-E68F-4B3F-8734-42EC094D88E0NIETO(A)
01A575E8-A8FB-40C5-99C0-588499F0302EOTRO DEPENDIENTE
E6E650E9-FA5D-445E-8C4A-59E2DEADEB32HERMANOS
64F66E70-9275-49F0-8F1D-88E852EC9AEBSOBRINO(A)
52C9B5A1-484D-4816-AF86-9209CA78FCAFHIJO(A)
E32C8918-913B-46C4-877C-A3CA6C86EA1FEMPLEADOS CONFIANZA
80B531AB-2EA0-40AF-AB53-AB6D6330FDBAABUELO(A)
46F72330-A94D-40F6-9A4E-B4FBA01EE292TÍO(A)
A8721D0B-4D93-4C9B-A3E2-B91F5D6BBA04CONYUGE
C85029F1-1523-4C1B-9B1B-BB886B7155EBCUNADO(A)
96170B40-4032-41D4-B67A-D0604614A11DHIJASTRO(A)
E96CD9C0-0040-45A4-B126-E9E4093161F9PRIMO(A)
F7CA00EC-39F9-457D-AB9A-EDDD9A1966F7BISNIETO(A)
266D0EAB-3277-44FE-9EE3-F9AAFAC59A00OTRO NO DEPENDIENTE
D7163900-88CE-4753-876A-FB3CD6178C7ANUERA - YERNO
10A11D00-4E50-4522-8C76-FE1D982165F6SUEGROS

πŸ’³ Payment Processing (POST /Services/v1/Payu/paymentPayU)

  • "transactionId"
    • Type: String
    • Description: Unique identifier for the payment transaction.
    • Length: 12-36 characters
  • "amount"
    • Type: Decimal
    • Description: The payment amount to be processed.
  • "paymentMethod"
    • Type: String
    • Description: The method of payment (e.g., Credit Card, PSE).
  • "currency"
    • Type: String (ISO 4217)
    • Description: The currency code, such as "COP" or "USD".

βœ… Payment Confirmation (POST /Services/v1/Payu/paymentConfirmationPayU)

  • "confirmationCode"
    • Type: String
    • Description: Code received from PayU confirming the payment.
  • "status"
    • Type: String
    • Description: The status of the payment (e.g., "APPROVED", "DECLINED").
  • "paymentDate"
    • Type: DateTime
    • Description: The date and time when the payment was processed.

πŸ“‘ Policy PDF Generation (POST /Services/v1/ServicePolicyPdf)

  • "policyNumber"
    • Type: String
    • Description: The unique number identifying the policy.
  • "pdfFormat"
    • Type: String
    • Description: Specifies the PDF format (e.g., A4, Letter).
  • "includeSignature"
    • Type: Boolean
    • Description: Determines if the PDF should include an electronic signature.

⚠️ Common Error Codes

CodeDescriptionSuggested Solution
400Bad RequestVerify the request structure.
401UnauthorizedCheck the authentication credentials.
404Not FoundEnsure the endpoint is correct.
500Internal Server ErrorTry again later or contact support.

πŸ“ž Support

For any questions or issues, please contact the API support team at INTEGRATION SERVICES AND APPLICATIONS COORDINATION.

Notes

  • Documentation updated in February 2025.
  • For additional information, contact: epalma@fgs.co

Reviews